

public class ThreadStarter
{
    public ThreadStarter()
    {
        MidiPlayer midiplayer = new MidiPlayer();
        Main main = new Main();
        
        Thread t1 = new Thread(midiplayer);
        Thread t2 = new Thread(main);
        
        t1.start();
        t2.start();
    }

}
